package com.stormragetech.teamwork.module.project.entity;

import com.stormragetech.teamwork.entity.DataHandler;
import com.stormragetech.teamwork.entity.Struc;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * description: //TODO
 *
 * @author: Xue Bin
 * @version: 1.0.0-SNAPSHOT
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProjectStruc implements Serializable, DataHandler {

    private static final long serialVersionUID = -3258685891197015145L;

    @Id
    private String id;

    private List<Struc> strucs;
    private Date createDate;
    private String ver;

    public ProjectStruc(List<Struc> strucs, Date createDate, String ver) {
        this.strucs = strucs;
        this.createDate = createDate;
        this.ver = ver;
    }

    @Override
    public void handle() {

    }
}
